﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace GUI.Headquarter
{
    public static class Extensions
    {

        public static void ShowMessage(this Page page, string msg, MessageType msgType)
        {
            ((Headquarter)page.Master).Message = msg;
            ((Headquarter)page.Master).MessageType = msgType;
        }

    }
}